package com.jinzhi.jzweb.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.jinzhi.common.base.CoreService;
import com.jinzhi.jzweb.domain.CertificateNewsDO;

import java.util.List;
import java.util.Map;

/**
 * 
 * <pre>
 * 证书信息
 * </pre>
 * <small> 2020-02-24 21:00:12 | lance</small>
 */
public interface CertificateNewsService extends CoreService<CertificateNewsDO> {

    Page<Map<String,Object>> selectListPage(int current, int number);

    Page<CertificateNewsDO> selectListPages(int current, int number);

    Page<CertificateNewsDO> selectListPagesFormal(int current, int number);

    List<Map<Object,Object>> selByNotGrade();
    List<Map<Object,Object>> selByProfileId();
    List<Map<Object,Object>> selByProfile();

    List<Map<Object,Object>> selByNewId();

    Map<Object,Object> selByNewName(Long newsId);
}
